import 'package:flutter_taotaoshipin/generated/json/base/json_convert_content.dart';
import 'package:flutter_taotaoshipin/model/user_logout_entity.dart';

UserLogoutEntity $UserLogoutEntityFromJson(Map<String, dynamic> json) {
  final UserLogoutEntity userLogoutEntity = UserLogoutEntity();
  final int? status = jsonConvert.convert<int>(json['status']);
  if (status != null) {
    userLogoutEntity.status = status;
  }
  return userLogoutEntity;
}

Map<String, dynamic> $UserLogoutEntityToJson(UserLogoutEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['status'] = entity.status;
  return data;
}

extension UserLogoutEntityExtension on UserLogoutEntity {
  UserLogoutEntity copyWith({
    int? status,
  }) {
    return UserLogoutEntity()
      ..status = status ?? this.status;
  }
}